﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZJF.GenericTech._01_回顾List和Dictionary
{
    public class Student
    {
        public int SId { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }

        public Student() { }

        public Student(int sId, string name, int age)
        {
            SId = sId;
            Name = name;
            Age = age;
        }

        public void Info() {
            Console.WriteLine($"同学：{this.Name} 今年 {this.Age}岁了！");
        }
    }
}
